local Class = require('lua.lang.Class')

--- @class BlockControl : Class
--- @field previous BlockControl?
--- @field firstLabel number
--- @field firstGoto number
--- @field nActVar number
--- @field upvalue boolean
--- @field isLoop boolean
local BlockControl = Class {}

--- @constructor
--- @return BlockControl
function BlockControl:new()
	--- @type BlockControl
	local o = {}
	o.firstGoto = 0
	o.firstGoto = 0
	o.nActVar = 0
	o.upvalue = false
	o.isLoop = false
	return setmetatable(o, BlockControl)
end

return BlockControl